package com.tanhua.dubbo.api;

import com.tanhua.domain.vo.PageResult;

public interface LikeApi {
    PageResult queryByPage(Integer page, Integer pagesize, Long userId);

    Long countFans(Long userId);

    Long countLove(Long userId);

    Long countBoth(Long userId);

    PageResult queryLikeBothByPage(Long userId, Integer page, Integer pagesize);

    PageResult queryFansByPage(Long userId, Integer page, Integer pagesize);

    PageResult queryVisitorByPage(Long userId, Integer page, Integer pagesize);

    PageResult queryLoveByPage(Integer page, Integer pagesize, Long userId);

    void remove(Long userId, Integer uid);

    void save(Integer friendId, Long userId);
}
